home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Linux LiveCD / GeeXboX 1.0 EN / geexbox-1.0-en.i386.iso / GEEXBOX / usr / share / alsa / cards / Aureon51.conf < prev    next >
Encoding:
Text File  |  2006-06-21  |  2.0 KB  |  158 lines

  1. #
  2. # Configuration for the Aureon51 (Envy24HT) chip
  3. #
  4.  
  5. # default with dmix & dsnoop
  6. Aureon51.pcm.default {
  7.     @args [ CARD ]
  8.     @args.CARD {
  9.         type string
  10.     }
  11.     type asym
  12.     playback.pcm {
  13.         type plug
  14.         slave.pcm {
  15.             @func concat
  16.             strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
  17.         }
  18.     }
  19.     capture.pcm {
  20.         type plug
  21.         slave.pcm {
  22.             @func concat
  23.             strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ]
  24.         }
  25.     }
  26. }
  27.  
  28. <confdir:pcm/front.conf>
  29.  
  30. Aureon51.pcm.front.0 {
  31.     @args [ CARD ]
  32.     @args.CARD {
  33.         type string
  34.     }
  35.     type hw
  36.     card $CARD
  37. }    
  38.  
  39. <confdir:pcm/rear.conf>
  40.  
  41. Aureon51.pcm.rear.0 {
  42.     @args [ CARD ]
  43.     @args.CARD {
  44.         type string
  45.     }
  46.     type hw
  47.     card $CARD
  48.     device 2
  49.     subdevice 1
  50. }    
  51.  
  52. <confdir:pcm/center_lfe.conf>
  53.  
  54. Aureon51.pcm.center_lfe.0 {
  55.     @args [ CARD ]
  56.     @args.CARD {
  57.         type string
  58.     }
  59.     type hw
  60.     card $CARD
  61.     device 2
  62.     subdevice 0
  63. }    
  64.  
  65. <confdir:pcm/side.conf>
  66.  
  67. Aureon51.pcm.side.0 {
  68.     @args [ CARD ]
  69.     @args.CARD {
  70.         type string
  71.     }
  72.     type hw
  73.     card $CARD
  74.     device 2
  75.     subdevice 2
  76. }
  77.  
  78. <confdir:pcm/surround40.conf>
  79.  
  80. Aureon51.pcm.surround40.0 {
  81.     @args [ CARD ]
  82.     @args.CARD {
  83.         type string
  84.     }
  85.     type hw
  86.     card $CARD
  87.     channels 4
  88. }    
  89.  
  90. <confdir:pcm/surround41.conf>
  91. <confdir:pcm/surround50.conf>
  92. <confdir:pcm/surround51.conf>
  93.  
  94. Aureon51.pcm.surround51.0 {
  95.     @args [ CARD ]
  96.     @args.CARD {
  97.         type string
  98.     }
  99.     type hw
  100.     card $CARD
  101.     channels 6
  102. }
  103.  
  104. <confdir:pcm/iec958.conf>
  105.  
  106. Aureon51.pcm.iec958.0 {
  107.     @args [ CARD AES0 AES1 AES2 AES3 ]
  108.     @args.CARD {
  109.         type string
  110.     }
  111.     @args.AES0 {
  112.         type integer
  113.     }
  114.     @args.AES1 {
  115.         type integer
  116.     }
  117.     @args.AES2 {
  118.         type integer
  119.     }
  120.     @args.AES3 {
  121.         type integer
  122.     }
  123.     type asym
  124.     playback.pcm {
  125.         type hooks
  126.         slave.pcm {
  127.             type hw
  128.             card $CARD
  129.             device 1
  130.         }
  131.         hooks.0 {
  132.             type ctl_elems
  133.             hook_args [
  134.                 {
  135.                     interface MIXER
  136.                     name "IEC958 Output Switch"
  137.                     lock true
  138.                     preserve true
  139.                     value true
  140.                 }
  141.                 {
  142.                     interface PCM
  143.                     name "IEC958 Playback Default"
  144.                     device 1
  145.                     lock true
  146.                     preserve true
  147.                     value [ $AES0 $AES1 $AES2 $AES3 ]
  148.                 }
  149.             ]
  150.         }
  151.     }
  152.     capture.pcm {
  153.         type hw
  154.         card $CARD
  155.         device 1
  156.     }
  157. }
  158.